<?php use_helper('Form');?>

<?php if(count($arr)>0):?>
<table>
	<tr>
	<td>
	
    <input id="sf_admin_list_batch_checkbox1" checked="checked" type="checkbox" onclick="checkUni('1');" />
	Выбранные каталоги:
	</td>
	<td>
	
	<?php foreach($arr as $k=>$v):?>
	 <?php $f = FolderPeer::retrieveByPK($v); ?>
			&nbsp;<?php echo checkbox_tag('material[mat2_folder_list][]', $v, true,'class="sf_admin_batch_checkbox1"') ?>
	
	<?php echo $f ?>
		 
	<?php endforeach ?>
	</td>
	</tr>
</table>
<?php endif ?>


